const Router = require("koa-router");
const user = require("./user");
const topic = require("./topic");

const router = new Router({
    prefix: "/api",
});

router.use("/user", user.routes(), user.allowedMethods());
router.use("/topic", topic.routes(), topic.allowedMethods());

module.exports = router;
